package work;

public class Employee {
	
	private String name;
	private String address;
	private int postcode;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public int getPostcode() {
		return postcode;
	}
	public void setPostcode(int postcode) {
		this.postcode = postcode;
	}
	
	
	public Employee() {
		super();
	}
	
	public Employee(String name, String address, int postcode) {
		super();
		this.name = name;
		this.address = address;
		this.postcode = postcode;
	}
	
	public void disPlay(){
		System.out.println(name + " " + address + " " + postcode);
	}
	

}
